package com.example.mdoncall;

/**
 * 
 * @author Anthony Maniquiz & Laine Nicolas (Smart Telecom Inc. OJT) 
 * @version 1
 * 
 */

public class Contact {
	
	//private variables
    int _id;
    String fname;
    String lname;
	String mname;
    String bday;
    String gender;
    String phoneNumber;
    
    String street;
    String city;
    
    String condition;
    String allergy;
    String medication;
 
    // Empty constructor
    public Contact(){
 
    }
    // constructor
    public Contact(int id, String fname, String lname, String mname, String bday, String gender, String phoneNumber, 
    				String street, String city, String condition, String allergy, String medication ){
        this._id = id;
        this.fname = fname;
        this.lname = lname;
        this.mname = mname;
        this.bday = bday;
        this.gender = gender;
        this.phoneNumber = phoneNumber;
        
        this.street = street;
        this.city = city;
        
        this.condition = condition;
        this.allergy = allergy;
        this.medication = medication;
    }
 
    // constructor
    public Contact(String fname, String lname, String mname, String bday, String gender, String phoneNumber, 
    				String street, String city, String condition, String allergy, String medication ){
        this.fname = fname;
        this.lname = lname;
        this.mname = mname;
        this.bday = bday;
        this.gender = gender;
        this.phoneNumber = phoneNumber;
        
        this.street = street;
        this.city = city;
        
        this.condition = condition;
        this.allergy = allergy;
        this.medication = medication;
    }
    // getting ID
    public int getID(){
        return this._id;
    }
 
    // setting id
    public void setID(int id){
        this._id = id;
    }
 
    // getting name
    public String getFname(){
        return this.fname;
    }
 
    // setting name
    public void setFname(String fname){
        this.fname = fname;
    }

    public String getLname() {
		return lname;
	}
	public void setLname(String lname) {
		this.lname = lname;
	}
	public String getMname() {
		return mname;
	}
	public void setMname(String mname) {
		this.mname = mname;
	}
	public String getBday() {
		return bday;
	}
	public void setBday(String bday) {
		this.bday = bday;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	
    // getting phone number
    public String getPhoneNumber(){
        return this.phoneNumber;
    }
 
    // setting phone number
    public void setPhoneNumber(String phoneNumber){
        this.phoneNumber = phoneNumber;
    }
	public String getCondition() {
		return condition;
	}
	public void setCondition(String condition) {
		this.condition = condition;
	}
	public String getAllergy() {
		return allergy;
	}
	public void setAllergy(String allergy) {
		this.allergy = allergy;
	}
	public String getMedication() {
		return medication;
	}
	public void setMedication(String medication) {
		this.medication = medication;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
    

}
